﻿<%@ Page Language="C#" AutoEventWireup="True" CodeBehind="PageManagement.aspx.cs" Inherits="Medianamik.UI.ConfigManagement.PageManagement" MasterPageFile="/Medianamik/MasterPages/MedianamikModule.Master"%>

<asp:Content ID="ContextMenuContent" ContentPlaceHolderID="ContextMenu" runat="server">
    <asp:LinkButton ID="btnSave" runat="server" CssClass="Action BtSauvegarder" OnClick="Save" Text="<%$ Resources : Medianamik_Global, SaveButtonText %>" />
    <a href="<%= ReturnURL %>" class="Action BtAnnuler unlock"><%=Resources("Medianamik_Global", "Cancel") %></a>
</asp:Content>

<asp:Content ID="CenterContent" ContentPlaceHolderID="CenterContent" runat="server">
    <asp:ValidationSummary ID="valSummary" runat="server" DisplayMode="BulletList" ShowMessageBox="false" ShowSummary="true" /><br />
	
		<med:MedianamikFormTemplate ID="Fields" runat="server" c>
		    <Template>
		        <fieldset>
		            <med:MedianamikPropertyControl ID="name" runat="server" PropertyName="Name" CultureNames="<%# MedianamikCultures %>" />
		            <med:MedianamikPropertyControl ID="fileName" runat="server" PropertyName="FileName" />
		            <med:MedianamikPropertyControl ID="menuGroup" runat="server" PropertyName="MenuGroup" />
		            <med:MedianamikPropertyControl ID="module" runat="server" PropertyName="Module" />
		            <med:MedianamikPropertyControl ID="isEditionPage" runat="server" PropertyName="IsEditionPage" />
		            <med:MedianamikPropertyControl ID="isLanguageNeutral" runat="server" PropertyName="IsLanguageNeutral" />
		            <med:MedianamikPropertyControl ID="displayInMenu" runat="server" PropertyName="DisplayInMenu" />
		        </fieldset>
		        
		    </Template>
		</med:MedianamikFormTemplate>
        <fieldset>
            <label>Roles</label>
            <med:RoleCheckBoxList id="chkRoles" runat="server"
              SelectedRoles="<%# GetSelectedRoles() %>">
              </med:RoleCheckBoxList>
	     </fieldset>
</asp:Content>